<?php
/**
 * Created by PhpStorm.
 * User: openote
 * Date: 2018/12/10
 * Time: 19:50
 */

namespace app\admin\validate;


use think\Validate;

class EQ extends Validate {
    protected $rule = [
        ['title','require','请输入标题'],
        ['type','require|in:1,2','请选择类型|请选择正确的类型'],
        ['answer','require','请填写正确答案'],
    ];
}